package com.bicon.botu.finance.wallet.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.bicon.botu.core.base.repository.mybatis.UuidBaseEntity;

import java.math.BigDecimal;

/**
 * 钱包实体
 * @Author: sx
 * @Date: Created in 14:17 2017/6/15/015
 */
@TableName("lk_wallet")
public class Wallet extends UuidBaseEntity<Wallet>{

    //用户id
    @TableField("user_id")
    private String userId;

    //余额
    @TableField("money")
    private BigDecimal money;

    //余额加密
    @TableField("money_md5")
    private String moneyMD5;

    //支付密码
    @TableField("pay_password")
    private String payPassword;

    //账户状态
    @TableField("status")
    private String status;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public String getMoneyMD5() {
        return moneyMD5;
    }

    public void setMoneyMD5(String moneyMD5) {
        this.moneyMD5 = moneyMD5;
    }

    public String getPayPassword() {
        return payPassword;
    }

    public void setPayPassword(String payPassword) {
        this.payPassword = payPassword;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
